<style lang="less" scoped>
    .selfcheck {
        width: 100%;
        height: auto;
        overflow: hidden;
        text-align: center;
        padding: 8px;
        display: flex;
    }
</style>
<template>
    <div class="selfcheck">
        <div style="width: 100%;text-align: left">
            <Card style="width:100%;height: auto">
                <DatePicker type="date" :value="time" :options="options3" placeholder="Select date" @on-change="onChange" style="width: 200px"></DatePicker>
                <Select :value="gx" style="width:200px" @on-change="gxChange">
                    <Option v-for="(item, index) in gxlist" :value="item.value" :key="index">{{ item.label }}</Option>
                </Select>
                <span style="margin-left: 30px;">机台: </span>
                <Input v-model="jtmsg" placeholder="机台" style="width: 200px"></Input>
                <Button type="primary" @click="getzijian">查询</Button>
                <elm-table :data="data" :columns="zz" v-show="gx == 'zz'"></elm-table>
                <elm-table :data="data" :columns="tj" v-show="gx == 'tj'"></elm-table>
                <elm-table :data="data" :columns="fm" v-show="gx == 'fm'"></elm-table>
                <elm-table :data="data" :columns="ft" v-show="gx == 'ft'"></elm-table>
                <elm-table :data="data" :columns="qt" v-show="gx == 'qt'"></elm-table>
                <elm-table :data="data" :columns="bj" v-show="gx == 'bj'"></elm-table>
                <elm-table :data="data" :columns="dj" v-show="gx == 'dj'"></elm-table>
                <elm-table :data="data" :columns="bz" v-show="gx == 'bz'"></elm-table>
            </Card>
        </div>
    </div>
</template>

<script>
    import CardTable from '../components/cardTable.vue'
    import MyCard from '../components/myCard.vue'
    import elmTable from '../components/elmTable'
    export default {
        name: 'selfcheck',
        data () {
            return {
                options3: {
                    disabledDate (date) {
                        return date.valueOf() > Date.now();
                    }
                },
                time: new Date(),
                gx: 'zz',
                gxlist: [
                    {
                        label: '织造',
                        value: 'zz'
                    },
                    {
                        label: '涂胶',
                        value: 'tj'
                    },
                    {
                        label: '飞毛',
                        value: 'fm'
                    },
                    {
                        label: '分条',
                        value: 'ft'
                    },
                    {
                        label: '切条',
                        value: 'qt'
                    },
                    {
                        label: '背胶',
                        value: 'bj'
                    },
                    {
                        label: '组装',
                        value: 'dj'
                    },
                    {
                        label: '包装',
                        value: 'bz'
                    }
                ],
                jtmsg: '',
                columns: [
                    {
                        title: '工单编号',
                        key: 'nub',
                        width: 180
                    },
                    {
                        title: '质检信息',
                        key: 'msg'
                    },
                    {
                        title: '质检人',
                        key: 'user',
                        width: 150
                    },
                    {
                        title: '提交时间',
                        key: 'time',
                        width: 180
                    },
                    {
                        title: '操作',
                        key: 'action',
                        width: 150,
                        render: (h, params) => {
                            return h('Button', {
                                props: {
                                    type: 'text'
                                },
                                style: {
                                    marginRight: '5px'
                                }
                            }, '编辑');
                        }
                    }
                ],  //  表格列
                data: [],  //  表格数据
                selectList: [
                    {
                        label: '工单编号',
                        value: 'nub'
                    },
                    {
                        label: '提交时间',
                        value: 'time'
                    },
                    {
                        label: '提交人',
                        value: 'user'
                    },
                    {
                        label: '提交信息',
                        value: 'msg'
                    }
                ],  //  搜索下拉列表
                defaultSelete: 'nub',  //  搜索下拉列表默认值
                searchForm: {
                    'nub': '',
                    'user': '',
                    'time': '',
                    'msg': ''
                },  //  搜索下拉列表默认值
                formItem: [
                    {
                        label: '工单编号',
                        key: 'nub',
                        placeholder: '输入编号'
                    },
                    {
                        label: '提交时间',
                        key: 'time',
                        placeholder: '输入提交时间'
                    },
                    {
                        label: '提交人',
                        key: 'user',
                        placeholder: '输入提交人'
                    },
                    {
                        label: '信息',
                        key: 'msg',
                        placeholder: '输入品质信息'
                    }
                ],  //  搜索表单item
                current: null,
                zz: [
                    {
                        label: '时间',
                        prop: 'qdzj_time1'
                    },
                    {
                        label: '外观确认',
                        children: [
                            {
                                label: '色差杂色',
                                prop: 'qdzj_sczs'
                            },
                            {
                                label: '波浪纹',
                                prop: 'qdzj_blw'
                            },
                            {
                                label: '散毛',
                                prop: 'qdzj_sm'
                            },
                            {
                                label: '毛束歪斜',
                                prop: 'qdzj_mswx'
                            },
                            {
                                label: '脏污',
                                prop: 'qdzj_zw'
                            },
                            {
                                label: '长毛二毛',
                                prop: 'qdzj_cmem'
                            },
                            {
                                label: '织带扭曲',
                                prop: 'qdzj_zdnq'
                            },
                            {
                                label: '毛头',
                                prop: 'qdzj_mt'
                            },
                            {
                                label: '脱纬',
                                prop: 'qdzj_tw'
                            },
                            {
                                label: '吊灰纱',
                                prop: 'qdzj_dhs'
                            },
                            {
                                label: '孔洞',
                                prop: 'qdzj_kd'
                            },
                            {
                                label: '毛稀疏',
                                prop: 'qdzj_kd'
                            }
                        ]
                    },
                    {
                        label: '尺寸量测',
                        children: [
                            {
                                label: '左下',
                                children: [
                                    {
                                        label: '',
                                        prop: 'qdzj_zx1'
                                    },
                                    {
                                        label: '',
                                        prop: 'qdzj_zx2'
                                    }
                                ]
                            },
                            {
                                label: '左上',
                                children: [
                                    {
                                        label: '',
                                        prop: 'qdzj_zs1'
                                    },
                                    {
                                        label: '',
                                        prop: 'qdzj_zs2'
                                    }
                                ]
                            },
                            {
                                label: '右下',
                                children: [
                                    {
                                        label: '',
                                        prop: 'qdzj_yx1'
                                    },
                                    {
                                        label: '',
                                        prop: 'qdzj_yx2'
                                    }
                                ]
                            },
                            {
                                label: '右上',
                                children: [
                                    {
                                        label: '',
                                        prop: 'qdzj_ys1'
                                    },
                                    {
                                        label: '',
                                        prop: 'qdzj_ys2'
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        label: '结构确认',
                        children: [
                            {
                                label: '花纹不清',
                                prop: 'qdzj_hwbq'
                            },
                            {
                                label: '纱线用错',
                                prop: 'qdzj_sxyc'
                            },
                            {
                                label: '扒纵错误',
                                prop: 'qdzj_pzcw'
                            },
                            {
                                label: '密度不符',
                                prop: 'qdzj_mdbf'
                            }
                        ]
                    },
                    {
                        label: '机台状况',
                        children: [
                            {
                                label: '正常',
                                prop: 'qdzj_zc'
                            },
                            {
                                label: '调机',
                                prop: 'qdzj_tj'
                            },
                            {
                                label: '修机',
                                prop: 'qdzj_xj'
                            }
                        ]
                    },
                    {
                        label: '质量判定',
                        prop: 'qdzj_zlpd'
                    }
                ],
                tj: [
                    {
                        label: '时间',
                        prop: 'tjzj_time1'
                    },
                    {
                        label: '外观确认',
                        children: [
                            {
                                label: '胶水粘度',
                                prop: 'tjzj_jsnd'
                            },
                            {
                                label: '底板胶块',
                                prop: 'tjzj_dbjk'
                            },
                            {
                                label: '底板烫伤',
                                prop: 'tjzj_dbts'
                            },
                            {
                                label: '粘水胶附',
                                prop: 'tjzj_zsjf'
                            },
                            {
                                label: '脏污',
                                prop: 'tjzj_zw'
                            },
                            {
                                label: '长毛二毛',
                                prop: 'tjzj_cmem'
                            },
                            {
                                label: '硬度不适中',
                                prop: 'tjzj_ydbsz'
                            },
                            {
                                label: '掉毛',
                                prop: 'tjzj_dm'
                            }
                        ]
                    },
                    {
                        label: '订单',
                        prop: 'tjzj_dd'
                    },
                    {
                        label: '产品规格',
                        prop: 'tjzj_cpgg'
                    },
                    {
                        label: '施工状况',
                        children: [
                            {
                                label: '底板硬度',
                                prop: 'tjzj_dbyd'
                            },
                            {
                                label: '胶水粘性',
                                prop: 'tjzj_jsnx'
                            },
                            {
                                label: '烘烤温度',
                                prop: 'tjzj_hkwd'
                            },
                            {
                                label: '烫底温度',
                                prop: 'tjzj_tdwd'
                            },
                            {
                                label: '线速',
                                prop: 'tjzj_xs'
                            },
                            {
                                label: '张力',
                                prop: 'tjzj_zl'
                            }
                        ]
                    },
                    {
                        label: '机台状况',
                        children: [
                            {
                                label: '正常',
                                prop: 'tjzj_zc'
                            },
                            {
                                label: '调机',
                                prop: 'tjzj_tj'
                            },
                            {
                                label: '维护',
                                prop: 'tjzj_wh'
                            }
                        ]
                    },
                    {
                        label: '质量判定',
                        prop: 'tjzj_zlpd'
                    }
                ],
                fm: [
                    {
                        label: '时间',
                        prop: 'fmzj_time1'
                    },
                    {
                        label: '外观确认',
                        children: [
                            {
                                label: '长毛二毛',
                                prop: 'fmzj_cmem'
                            },
                            {
                                label: '波浪纹',
                                prop: 'fmzj_blw'
                            },
                            {
                                label: '毛面飞糊',
                                prop: 'fmzj_mmfh'
                            },
                            {
                                label: '毛不平整',
                                prop: 'fmzj_mbpz'
                            },
                            {
                                label: '脏污',
                                prop: 'fmzj_zw'
                            }
                        ]
                    },
                    {
                        label: '订单',
                        prop: 'fmzj_dd'
                    },
                    {
                        label: '产品颜色',
                        prop: 'fmzj_cpys'
                    },
                    {
                        label: '尺寸测量',
                        children: [
                            {
                                label: '产品规格',
                                prop: 'fmzj_cpgg'
                            },
                            {
                                label: '毛高',
                                children: [
                                    {
                                        label: '',
                                        prop: 'fmzj_mg1'
                                    },
                                    {
                                        label: '',
                                        prop: 'fmzj_mg2'
                                    },
                                    {
                                        label: '',
                                        prop: 'fmzj_mg3'
                                    },
                                    {
                                        label: '',
                                        prop: 'fmzj_mg4'
                                    },
                                    {
                                        label: '',
                                        prop: 'fmzj_mg5'
                                    },
                                    {
                                        label: '',
                                        prop: 'fmzj_mg6'
                                    },
                                    {
                                        label: '',
                                        prop: 'fmzj_mg7'
                                    },
                                    {
                                        label: '',
                                        prop: 'fmzj_mg8'
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        label: '结构确认',
                        children: [
                            {
                                label: '高低毛台阶',
                                prop: 'fmzj_gdmtj'
                            },
                            {
                                label: '毛条结构',
                                prop: 'fmzj_mtjg'
                            },
                            {
                                label: '涂胶状况',
                                prop: 'fmzj_tjzk'
                            }
                        ]
                    },
                    {
                        label: '机台状况',
                        children: [
                            {
                                label: '正常',
                                prop: 'fmzj_zc'
                            },
                            {
                                label: '调机',
                                prop: 'fmzj_tj'
                            },
                            {
                                label: '维护',
                                prop: 'fmzj_wh'
                            }
                        ]
                    },
                    {
                        label: '质量判定',
                        prop: 'fmzj_zlpd'
                    }
                ],
                ft: [
                    {
                        label: '时间',
                        prop: 'ftzj_time1'
                    },
                    {
                        label: '外观确认',
                        children: [
                            {
                                label: '偏边',
                                prop: 'ftzj_pb'
                            },
                            {
                                label: '黑边',
                                prop: 'ftzj_hb'
                            },
                            {
                                label: '切毛',
                                prop: 'ftzj_qm'
                            },
                            {
                                label: '底板锯齿',
                                prop: 'ftzj_dbjc'
                            },
                            {
                                label: '离胶散架',
                                prop: 'ftzj_ljsj'
                            }
                        ]
                    },
                    {
                        label: '订单',
                        prop: 'ftzj_dd'
                    },
                    {
                        label: '产品颜色',
                        prop: 'ftzj_cpys'
                    },
                    {
                        label: '尺寸量测',
                        children: [
                            {
                                label: '产品规格',
                                prop: 'ftzj_cpgg'
                            },
                            {
                                label: '尺寸实测',
                                children: [
                                    {
                                        label: '',
                                        prop: 'ftzj_ccsc1'
                                    },
                                    {
                                        label: '',
                                        prop: 'ftzj_ccsc2'
                                    },
                                    {
                                        label: '',
                                        prop: 'ftzj_ccsc3'
                                    },
                                    {
                                        label: '',
                                        prop: 'ftzj_ccsc4'
                                    },
                                    {
                                        label: '',
                                        prop: 'ftzj_ccsc5'
                                    },
                                    {
                                        label: '',
                                        prop: 'ftzj_ccsc6'
                                    },
                                    {
                                        label: '',
                                        prop: 'ftzj_ccsc7'
                                    },
                                    {
                                        label: '',
                                        prop: 'ftzj_ccsc8'
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        label: '结构确认',
                        children: [
                            {
                                label: '织带花宽',
                                prop: 'ftzj_zdhk'
                            },
                            {
                                label: '涂胶质量',
                                prop: 'ftzj_tjzl'
                            },
                            {
                                label: '飞毛质量',
                                prop: 'ftzj_fmzl'
                            }
                        ]
                    },
                    {
                        label: '质量判定',
                        prop: 'ftzj_zlpd'
                    }
                ],
                qt: [
                    {
                        label: '时间',
                        prop: 'qtzj_time1'
                    },
                    {
                        label: '外观确认',
                        children: [
                            {
                                label: '底板斜切',
                                prop: 'qtzj_dbxq'
                            },
                            {
                                label: '刷毛切损',
                                prop: 'qtzj_smqs'
                            },
                            {
                                label: '毛束散乱',
                                prop: 'qtzj_mssl'
                            }
                        ]
                    },
                    {
                        label: '订单',
                        prop: 'qtzj_dd'
                    },
                    {
                        label: '产品颜色',
                        prop: 'qtzj_cpys'
                    },
                    {
                        label: '尺寸量测',
                        children: [
                            {
                                label: '尺寸实测',
                                children: [
                                    {
                                        label: '',
                                        prop: 'qtzj_ccsc1'
                                    },
                                    {
                                        label: '',
                                        prop: 'qtzj_ccsc2'
                                    },
                                    {
                                        label: '',
                                        prop: 'qtzj_ccsc3'
                                    },
                                    {
                                        label: '',
                                        prop: 'qtzj_ccsc4'
                                    },
                                    {
                                        label: '',
                                        prop: 'qtzj_ccsc5'
                                    },
                                    {
                                        label: '',
                                        prop: 'qtzj_ccsc6'
                                    },
                                    {
                                        label: '',
                                        prop: 'qtzj_ccsc7'
                                    },
                                    {
                                        label: '',
                                        prop: 'qtzj_ccsc8'
                                    },
                                    {
                                        label: '',
                                        prop: 'qtzj_ccsc9'
                                    },
                                    {
                                        label: '',
                                        prop: 'qtzj_ccsc10'
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        label: '质量判定',
                        prop: 'qtzj_zlpd'
                    }
                ],
                bj: [
                    {
                        label: '时间',
                        prop: 'bjzj_time1'
                    },
                    {
                        label: '外观确认',
                        children: [
                            {
                                label: '长毛二毛',
                                prop: 'bjzj_cmem'
                            },
                            {
                                label: '波浪纹',
                                prop: 'bjzj_blw'
                            },
                            {
                                label: '毛不平整',
                                prop: 'bjzj_mbpz'
                            },
                            {
                                label: '脏污',
                                prop: 'bjzj_zw'
                            },
                            {
                                label: '毛条扭曲',
                                prop: 'bjzj_mtnq'
                            },
                            {
                                label: '底板太硬',
                                prop: 'bjzj_dbty'
                            },
                            {
                                label: '胶粘毛',
                                prop: 'bjzj_jzm'
                            },
                            {
                                label: '孔洞少毛',
                                prop: 'bjzj_kdsm'
                            },
                            {
                                label: '胶块',
                                prop: 'bjzj_jk'
                            }
                        ]
                    },
                    {
                        label: '订单',
                        prop: 'bjzj_dd'
                    },
                    {
                        label: '产品颜色',
                        prop: 'bjzj_cpys'
                    },
                    {
                        label: '背胶后尺寸量测',
                        children: [
                            {
                                label: '产品规格',
                                prop: 'bjzj_cpgg'
                            },
                            {
                                label: '底宽',
                                children: [
                                    {
                                        label: '',
                                        prop: 'bjzj_dk1'
                                    },
                                    {
                                        label: '',
                                        prop: 'bjzj_dk2'
                                    },
                                    {
                                        label: '',
                                        prop: 'bjzj_dk3'
                                    },
                                    {
                                        label: '',
                                        prop: 'bjzj_dk4'
                                    },
                                    {
                                        label: '',
                                        prop: 'bjzj_dk5'
                                    },
                                    {
                                        label: '',
                                        prop: 'bjzj_dk6'
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        label: '背胶状况',
                        children: [
                            {
                                label: '胶带不居中',
                                prop: 'bjzj_jdbjz'
                            },
                            {
                                label: '胶带粘性',
                                prop: 'bjzj_jdnx'
                            }
                        ]
                    },
                    {
                        label: '质量判定',
                        prop: 'bjzj_zlpd'
                    }
                ],
                dj: [
                    {
                        label: '时间',
                        prop: 'djzj_time1'
                    },
                    {
                        label: '外观确认',
                        children: [
                            {
                                label: '色差杂色',
                                prop: 'djzj_sczs'
                            },
                            {
                                label: '长毛二毛',
                                prop: 'djzj_smem'
                            },
                            {
                                label: '散毛',
                                prop: 'djzj_sm'
                            },
                            {
                                label: '毛束歪斜',
                                prop: 'djzj_mswx'
                            },
                            {
                                label: '脏污',
                                prop: 'djzj_zw'
                            },
                            {
                                label: '脱胶',
                                prop: 'djzj_tj'
                            },
                            {
                                label: '端头不齐',
                                prop: 'djzj_dtbq'
                            },
                            {
                                label: '粘胶水',
                                prop: 'djzj_njs'
                            },
                            {
                                label: '毛少稀疏',
                                prop: 'djzj_msxs'
                            },
                            {
                                label: '翘曲',
                                prop: 'djzj_qq'
                            },
                            {
                                label: '产品颜色',
                                prop: 'djzj_cpys'
                            }
                        ]
                    },
                    {
                        label: '订单',
                        prop: 'djzj_dd'
                    },
                    {
                        label: '产品尺寸',
                        children: [
                            {
                                label: '产品规格',
                                prop: 'djzj_cpgg'
                            },
                            {
                                label: '尺寸测量',
                                children: [
                                    {
                                        label: '',
                                        prop: 'djzj_cccl1'
                                    },
                                    {
                                        label: '',
                                        prop: 'djzj_cccl2'
                                    },
                                    {
                                        label: '',
                                        prop: 'djzj_cccl3'
                                    },
                                    {
                                        label: '',
                                        prop: 'djzj_cccl4'
                                    },
                                    {
                                        label: '',
                                        prop: 'djzj_cccl5'
                                    },
                                    {
                                        label: '',
                                        prop: 'djzj_cccl6'
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        lable: '结构确认',
                        children: [
                            {
                                label: '结合牢靠',
                                prop: 'djzj_jhlk'
                            },
                            {
                                label: '背胶型号',
                                prop: 'djzj_bjxh'
                            },
                            {
                                label: '胶水型号',
                                prop: 'djzj_jsxh'
                            }
                        ]
                    },
                    {
                        label: '质量判定',
                        prop: 'djzj_zlpd'
                    }
                ],
                bz: [
                    {
                        label: '时间',
                        prop: 'bzzj_time1'
                    },
                    {
                        label: '外观确认',
                        children: [
                            {
                                label: '色差杂色',
                                prop: 'bzzj_sczs'
                            },
                            {
                                label: '毛不平齐',
                                prop: 'bzzj_mbpq'
                            },
                            {
                                label: '刷毛散开',
                                prop: 'bzzj_smsk'
                            },
                            {
                                label: '毛束歪斜',
                                prop: 'bzzj_mswx'
                            },
                            {
                                label: '脏污',
                                prop: 'bzzj_zw'
                            },
                            {
                                label: '长毛二毛',
                                prop: 'bzzj_cmem'
                            },
                            {
                                label: '脱胶',
                                prop: 'bzzj_tj'
                            },
                            {
                                label: '端头不齐',
                                prop: 'bzzj_dtbq'
                            },
                            {
                                label: '粘胶水',
                                prop: 'bzzj_njs'
                            },
                            {
                                label: '毛少稀疏',
                                prop: 'bzzj_msxs'
                            },
                            {
                                label: '翘曲',
                                prop: 'bzzj_qq'
                            },
                            {
                                label: '底板多胶',
                                prop: 'bzzj_dbdj'
                            },
                            {
                                label: '离胶散架',
                                prop: 'bzzj_ljsj'
                            },
                            {
                                label: '底板锯齿',
                                prop: 'bzzj_dbjc'
                            },
                            {
                                label: '碎毛',
                                prop: 'bzzj_sm'
                            },
                            {
                                label: '包材破损',
                                prop: 'bzzj_bcps'
                            },
                            {
                                label: '产品颜色',
                                prop: 'bzzj_cpys'
                            }
                        ]
                    },
                    {
                        label: '订单',
                        prop: 'bzzj_dd'
                    },
                    {
                        label: '产品规格',
                        prop: 'bzzj_cpgg'
                    },
                    {
                        label: '尺寸测量',
                        children: [
                            {
                                label: '底宽',
                                children: [
                                    {
                                        label: '',
                                        prop: 'bzzj_dk1'
                                    },
                                    {
                                        label: '',
                                        prop: 'bzzj_dk2'
                                    }

                                ]
                            },
                            {
                                label: '底厚',
                                children: [
                                    {
                                        label: '',
                                        prop: 'bzzj_dh1'
                                    },
                                    {
                                        label: '',
                                        prop: 'bzzj_dh2'
                                    }

                                ]
                            },
                            {
                                label: '总高',
                                children: [
                                    {
                                        label: '',
                                        prop: 'bzzj_zg1'
                                    },
                                    {
                                        label: '',
                                        prop: 'bzzj_zg2'
                                    }

                                ]
                            },
                            {
                                label: '长度',
                                children: [
                                    {
                                        label: '',
                                        prop: 'bzzj_cd1'
                                    },
                                    {
                                        label: '',
                                        prop: 'bzzj_cd2'
                                    }

                                ]
                            }
                        ]
                    },
                    {
                        label: '包装确认',
                        children: [
                            {
                                label: '标示正确',
                                prop: 'bzzj_bszq'
                            },
                            {
                                label: '数量准确',
                                prop: 'bzzj_slzq'
                            },
                            {
                                label: '堆码整齐',
                                prop: 'bzzj_dmzq'
                            },
                            {
                                label: '包装完好',
                                prop: 'bzzj_bzwh'
                            }
                        ]
                    },
                    {
                        label: '质量判定',
                        prop: 'bzzj_zlpd'
                    }
                ],
                gxtable: this.zz
            }
        },
        methods: {
            add () {
                console.log('customer触发了添加事件')
            },
            refresh () {
                console.log('customer触发了刷新事件')
            },
            onCurrentChange (current) {
                console.log(current)
                this.current = current
            },
            editDate (date) {
                let time = date.getTime()
                time = time - date.getHours() * 3600 * 1000 - date.getMinutes() * 60000 - date.getSeconds() * 1000 - date.getMilliseconds()
                return time
            },
            onChange (date) {
            },
            gxChange (val) {
                console.log(this[val])
                this.gx = val
            },
            getzijian () {
                switch (this.gx) {
                    case 'zz':
                        console.log('zzhttp')
                        this.http.getzijian(this, {time: this.editDate(this.time), jt: this.jtmsg}, 'qiandaozj/getAll')
                        break;
                    case 'tj':
                        this.http.getzijian(this, {time: this.editDate(this.time), jt: this.jtmsg}, 'tujiaozj/getAll')
                        break;
                    case 'fm':
                        this.http.getzijian(this, {time: this.editDate(this.time), jt: this.jtmsg}, 'feimaozj/getAll')
                        break;
                    case 'ft':
                        this.http.getzijian(this, {time: this.editDate(this.time), jt: this.jtmsg}, 'fentiaozj/getAll')
                        break;
                    case 'qt':
                        this.http.getzijian(this, {time: this.editDate(this.time), jt: this.jtmsg}, 'qietiaozj/getAll')
                        break;
                    case 'bj':
                        this.http.getzijian(this, {time: this.editDate(this.time), jt: this.jtmsg}, 'beijiaozj/getAll')
                        break;
                    case 'dj':
                        this.http.getzijian(this, {time: this.editDate(this.time), jt: this.jtmsg}, 'dianjiaozj/getAll')
                        break;
                    case 'bz':
                        this.http.getzijian(this, {time: this.editDate(this.time), jt: this.jtmsg}, 'baozhuangzj/getAll')
                        break;
                }
            }
        },
        components: {
            CardTable,
            MyCard,
            elmTable
        },
        mounted: function () {
            //this.http.getSelfCheck(this, {})
            this.http.getAllZiJian(this, {time: this.editDate(this.time)})
        }
    };
</script>
